class CityBean {
  String code;
  String name;

  CityBean({this.code, this.name});

  CityBean.fromJson(Map<String, dynamic> json) {
    this.code = json['code'];
    this.name = json['name'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['name'] = this.name;
    return data;
  }
}
